package org.example.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @TableName tb_sys_perm
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_sys_perm")
public class Permission implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 权限Id
     */
    @TableId
    private Integer id;
    /**
     * 权限名称
     */
    private String name;
    /**
     * 权限描述
     */
    private String title;
    /**
     * 权限绑定url
     */
    private String url;
    /**
     * 权限绑定图片
     */
    private String iconUrl;
}